﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000707 RID: 1799
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetGachaInfoScRsp : IMessage<GetGachaInfoScRsp>, IMessage, IEquatable<GetGachaInfoScRsp>, IDeepCloneable<GetGachaInfoScRsp>, IBufferMessage
	{
		// Token: 0x17001712 RID: 5906
		// (get) Token: 0x060050FA RID: 20730 RVA: 0x000DC227 File Offset: 0x000DA427
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetGachaInfoScRsp> Parser
		{
			get
			{
				return GetGachaInfoScRsp._parser;
			}
		}

		// Token: 0x17001713 RID: 5907
		// (get) Token: 0x060050FB RID: 20731 RVA: 0x000DC22E File Offset: 0x000DA42E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetGachaInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001714 RID: 5908
		// (get) Token: 0x060050FC RID: 20732 RVA: 0x000DC240 File Offset: 0x000DA440
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetGachaInfoScRsp.Descriptor;
			}
		}

		// Token: 0x060050FD RID: 20733 RVA: 0x000DC247 File Offset: 0x000DA447
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGachaInfoScRsp()
		{
		}

		// Token: 0x060050FE RID: 20734 RVA: 0x000DC25C File Offset: 0x000DA45C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGachaInfoScRsp(GetGachaInfoScRsp other) : this()
		{
			this.nBKOPNKCFEB_ = other.nBKOPNKCFEB_;
			this.kPCBHCBGGKO_ = other.kPCBHCBGGKO_;
			this.retcode_ = other.retcode_;
			this.gachaInfoList_ = other.gachaInfoList_.Clone();
			this.gachaRandom_ = other.gachaRandom_;
			this.lBGEOGENKGG_ = other.lBGEOGENKGG_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060050FF RID: 20735 RVA: 0x000DC2CD File Offset: 0x000DA4CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGachaInfoScRsp Clone()
		{
			return new GetGachaInfoScRsp(this);
		}

		// Token: 0x17001715 RID: 5909
		// (get) Token: 0x06005100 RID: 20736 RVA: 0x000DC2D5 File Offset: 0x000DA4D5
		// (set) Token: 0x06005101 RID: 20737 RVA: 0x000DC2DD File Offset: 0x000DA4DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NBKOPNKCFEB
		{
			get
			{
				return this.nBKOPNKCFEB_;
			}
			set
			{
				this.nBKOPNKCFEB_ = value;
			}
		}

		// Token: 0x17001716 RID: 5910
		// (get) Token: 0x06005102 RID: 20738 RVA: 0x000DC2E6 File Offset: 0x000DA4E6
		// (set) Token: 0x06005103 RID: 20739 RVA: 0x000DC2EE File Offset: 0x000DA4EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KPCBHCBGGKO
		{
			get
			{
				return this.kPCBHCBGGKO_;
			}
			set
			{
				this.kPCBHCBGGKO_ = value;
			}
		}

		// Token: 0x17001717 RID: 5911
		// (get) Token: 0x06005104 RID: 20740 RVA: 0x000DC2F7 File Offset: 0x000DA4F7
		// (set) Token: 0x06005105 RID: 20741 RVA: 0x000DC2FF File Offset: 0x000DA4FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001718 RID: 5912
		// (get) Token: 0x06005106 RID: 20742 RVA: 0x000DC308 File Offset: 0x000DA508
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<GachaInfo> GachaInfoList
		{
			get
			{
				return this.gachaInfoList_;
			}
		}

		// Token: 0x17001719 RID: 5913
		// (get) Token: 0x06005107 RID: 20743 RVA: 0x000DC310 File Offset: 0x000DA510
		// (set) Token: 0x06005108 RID: 20744 RVA: 0x000DC318 File Offset: 0x000DA518
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GachaRandom
		{
			get
			{
				return this.gachaRandom_;
			}
			set
			{
				this.gachaRandom_ = value;
			}
		}

		// Token: 0x1700171A RID: 5914
		// (get) Token: 0x06005109 RID: 20745 RVA: 0x000DC321 File Offset: 0x000DA521
		// (set) Token: 0x0600510A RID: 20746 RVA: 0x000DC329 File Offset: 0x000DA529
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LBGEOGENKGG
		{
			get
			{
				return this.lBGEOGENKGG_;
			}
			set
			{
				this.lBGEOGENKGG_ = value;
			}
		}

		// Token: 0x0600510B RID: 20747 RVA: 0x000DC332 File Offset: 0x000DA532
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetGachaInfoScRsp);
		}

		// Token: 0x0600510C RID: 20748 RVA: 0x000DC340 File Offset: 0x000DA540
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetGachaInfoScRsp other)
		{
			return other != null && (other == this || (this.NBKOPNKCFEB == other.NBKOPNKCFEB && this.KPCBHCBGGKO == other.KPCBHCBGGKO && this.Retcode == other.Retcode && this.gachaInfoList_.Equals(other.gachaInfoList_) && this.GachaRandom == other.GachaRandom && this.LBGEOGENKGG == other.LBGEOGENKGG && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600510D RID: 20749 RVA: 0x000DC3D0 File Offset: 0x000DA5D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.NBKOPNKCFEB != 0U)
			{
				num ^= this.NBKOPNKCFEB.GetHashCode();
			}
			if (this.KPCBHCBGGKO != 0U)
			{
				num ^= this.KPCBHCBGGKO.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.gachaInfoList_.GetHashCode();
			if (this.GachaRandom != 0U)
			{
				num ^= this.GachaRandom.GetHashCode();
			}
			if (this.LBGEOGENKGG != 0U)
			{
				num ^= this.LBGEOGENKGG.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600510E RID: 20750 RVA: 0x000DC481 File Offset: 0x000DA681
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600510F RID: 20751 RVA: 0x000DC489 File Offset: 0x000DA689
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005110 RID: 20752 RVA: 0x000DC494 File Offset: 0x000DA694
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GachaRandom != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.GachaRandom);
			}
			if (this.LBGEOGENKGG != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.LBGEOGENKGG);
			}
			if (this.NBKOPNKCFEB != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.NBKOPNKCFEB);
			}
			this.gachaInfoList_.WriteTo(ref output, GetGachaInfoScRsp._repeated_gachaInfoList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this.KPCBHCBGGKO != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.KPCBHCBGGKO);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005111 RID: 20753 RVA: 0x000DC554 File Offset: 0x000DA754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.NBKOPNKCFEB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NBKOPNKCFEB);
			}
			if (this.KPCBHCBGGKO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KPCBHCBGGKO);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.gachaInfoList_.CalculateSize(GetGachaInfoScRsp._repeated_gachaInfoList_codec);
			if (this.GachaRandom != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GachaRandom);
			}
			if (this.LBGEOGENKGG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LBGEOGENKGG);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005112 RID: 20754 RVA: 0x000DC608 File Offset: 0x000DA808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetGachaInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.NBKOPNKCFEB != 0U)
			{
				this.NBKOPNKCFEB = other.NBKOPNKCFEB;
			}
			if (other.KPCBHCBGGKO != 0U)
			{
				this.KPCBHCBGGKO = other.KPCBHCBGGKO;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.gachaInfoList_.Add(other.gachaInfoList_);
			if (other.GachaRandom != 0U)
			{
				this.GachaRandom = other.GachaRandom;
			}
			if (other.LBGEOGENKGG != 0U)
			{
				this.LBGEOGENKGG = other.LBGEOGENKGG;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005113 RID: 20755 RVA: 0x000DC6A5 File Offset: 0x000DA8A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005114 RID: 20756 RVA: 0x000DC6B0 File Offset: 0x000DA8B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num == 32U)
					{
						this.GachaRandom = input.ReadUInt32();
						continue;
					}
					if (num == 40U)
					{
						this.LBGEOGENKGG = input.ReadUInt32();
						continue;
					}
					if (num == 56U)
					{
						this.NBKOPNKCFEB = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 74U)
					{
						this.gachaInfoList_.AddEntriesFrom(ref input, GetGachaInfoScRsp._repeated_gachaInfoList_codec);
						continue;
					}
					if (num == 104U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.KPCBHCBGGKO = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001FC8 RID: 8136
		private static readonly MessageParser<GetGachaInfoScRsp> _parser = new MessageParser<GetGachaInfoScRsp>(() => new GetGachaInfoScRsp());

		// Token: 0x04001FC9 RID: 8137
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001FCA RID: 8138
		public const int NBKOPNKCFEBFieldNumber = 7;

		// Token: 0x04001FCB RID: 8139
		private uint nBKOPNKCFEB_;

		// Token: 0x04001FCC RID: 8140
		public const int KPCBHCBGGKOFieldNumber = 15;

		// Token: 0x04001FCD RID: 8141
		private uint kPCBHCBGGKO_;

		// Token: 0x04001FCE RID: 8142
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04001FCF RID: 8143
		private uint retcode_;

		// Token: 0x04001FD0 RID: 8144
		public const int GachaInfoListFieldNumber = 9;

		// Token: 0x04001FD1 RID: 8145
		private static readonly FieldCodec<GachaInfo> _repeated_gachaInfoList_codec = FieldCodec.ForMessage<GachaInfo>(74U, GachaInfo.Parser);

		// Token: 0x04001FD2 RID: 8146
		private readonly RepeatedField<GachaInfo> gachaInfoList_ = new RepeatedField<GachaInfo>();

		// Token: 0x04001FD3 RID: 8147
		public const int GachaRandomFieldNumber = 4;

		// Token: 0x04001FD4 RID: 8148
		private uint gachaRandom_;

		// Token: 0x04001FD5 RID: 8149
		public const int LBGEOGENKGGFieldNumber = 5;

		// Token: 0x04001FD6 RID: 8150
		private uint lBGEOGENKGG_;
	}
}
